<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
    <div>
        <form th:action="@{/user/login}" th:method="post">
            用户名:<input th:type="text" th:name="username"/><br/>
            密&nbsp;&nbsp;码<input th:type="password" th:name="password"><br/>
            <input type="submit" value="登录"/>
        </form>

    </div>
</body>
</html>